import axios from "@/utils/request.js"

//获取城市
export const City = params => axios({
    url: '/v1/cities',
    method: 'get',
    params
})

//获取所选城市信息
export const CityInfo = id => axios({
    url: '/v1/cities/'+id,
    method: 'get',
})

// 搜索地址
export const Address = params => axios({
    url: '/v1/pois',
    method: 'get',
    params
})